using System.Text.RegularExpressions;
using System.Collections.Generic;

public class HTTPUtils
{
	public static bool EmailIsValid (string email)
	{
		string expresion;
		expresion = "\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*";
		if (Regex.IsMatch(email, expresion))
		{
			if (Regex.Replace(email, expresion, string.Empty).Length == 0)
			{
				return true;
			}
			else
			{
				return false;
			}
		}
		else
		{
			return false;
		}
	}
}